package com.fupeng.thoughtworks;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lecky on 2016/9/21 0021.
 */
class Snap implements Cloneable{
        private String id;
        private String time;
        private List<Animal> list = new ArrayList<>();
        public String getId() {
            return id;
        }
        public void setId(String id) {
            this.id = id;
        }
        public String getTime() {
            return time;
        }
        public void setTime(String time) {
            this.time = time;
        }
        public List<Animal> getList() {
            return list;
        }
        public void setList(List<Animal> list) {
            this.list = list;
        }
    public Object clone() {
        Snap o = null;
        try {
            o = (Snap) super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return o;
    }
}